/**
 *
 * @author Huang Junjie
 *
 */

package TimeSqueeze.common;

public class Task implements TaskInterface{
        
        private String taskDescription;
        private String taskTag;
        private boolean status_done = false;
        
        public Task(String description, String tag) {
                setTag(tag);
                setDescription(description);
        }

        @Override
        public void setTag(String tag){
                taskTag = tag;
        }
        
        @Override
        public void setDescription(String description) {
                taskDescription = description;
        }

        @Override
        public void setDone(boolean status) {
                status_done = status;
        }

        @Override
        public String getDescription() {
                return taskDescription;
        }
        
        @Override
        public String getTag(){
                return taskTag;
        }
        
        @Override
        public boolean getDone() {
                return status_done;
        }

        @Override
        public String getTaskType() {
                return "untimed";
        }
        
        @Override
        public String printContents() {
                String allValues = (taskDescription +  "-" + taskTag);
                return allValues;
        }

        @Override
        public Time getStartTime() {
                // TODO Auto-generated method stub
                return null;
        }

        @Override
        public Time getEndTime() {
                // TODO Auto-generated method stub
                return null;
        }

        @Override
        public void setStartTime(Time time) {
                // TODO Auto-generated method stub
                
        }

        @Override
        public void setEndTime(Time time) {
                // TODO Auto-generated method stub
                
        }

}